home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d884.lha / S-Pic / S-pic.doc < prev    next >
Text File  |  1993-07-16  |  4KB  |  118 lines

  1.    
  2.  
  3.                              S - PIC  V1.2 
  4.  
  5.                           Self-Displaying ILBM
  6.  
  7.    The most notable fact about pictures - whether ILBM format or any other -
  8.  is that they take up a terrible lot of space.  Which means that to save
  9.  space they are normally compressed.  Which in turn means that either a
  10.  compatible display program must be available, or the picture file must be
  11.  decompressed before use.   The advantage of self-displaying compressed
  12.  ILBMs which need no separate external displayer or decompression program
  13.  will be obvious.  
  14.  
  15.    There are one or two programs around which will produce self-displaying
  16.  pics, but so far as I am aware, none that incorporate compression.
  17.  
  18.  
  19.    Hence S-Pic.
  20.  
  21.    S-Pic will handle IFF ILBM of all types up to overscan HIRES/LACE in size.
  22.  Some of the new System3 display modes may also work.  Cycling is not supported
  23.  in this version.  
  24.  
  25.    S-Pic first adds a display header (approx 800 bytes).  Then it checks
  26.  whether the ILBM is compressed (P-Compress format), if not the file is
  27.  compressed - a check is made as to whether the gain is greater than the
  28.  size of the decompression header - if not the uncompressed version is used.
  29.  Decompression header is added where it is needed.
  30.  
  31.    Small pictures such as brushes under about 2K will not be compressed and
  32.  will end up some 800 bytes larger.  Larger files will be compressed and 
  33.  will normally be smaller than the original in spite of the added headers.
  34.  
  35.    Advantages over a simple compressed pic + decompressing display tool include:
  36.  
  37.    Disk space:   Apart from P-Reader (P-Compress format) the only programs
  38.        that will display compressed ILBMs work with Power Packer files.
  39.        This is not a very efficient compressor and S-Pics, even with the
  40.        included headers will normally be smaller than the same pic compressed
  41.        with PowerPacker - and much smaller than the Power Packed pic + display
  42.        tool.
  43.  
  44.     Convenience:  No fiddling around with icon Default Tools.
  45.    
  46.     Portability:   The pic can be transferred anywhere without worrying over
  47.        whether a suitable decompressor/display tool is available, or changing
  48.        icons.
  49.  
  50.     Speed: At a CLI it is a lot quicker to type "Art-Gallery" than for
  51.        example "dh0:c/PPShow Art-Gallery" 
  52.  
  53.    As with S-Texts the real point is that it gives you a file that can be
  54.   moved from disk to disk without having to even consider whether suitable
  55.   decompressing displayers are on them, and can distribute without having to
  56.   consider whether recipients have any means of decompressing and displaying.
  57.  
  58.    S-Pic is one of a family of tools for the production of self-executing
  59.   files.  S-Text has already been released.  S-Anim and S-Exec will follow
  60.   in due course.
  61.  
  62.  
  63.                            INSTRUCTIONS 
  64.  
  65.    Very very simple:
  66.  
  67.    To create the executable pic open a CLI and type:
  68.  
  69.                  S-Pic <picfile> <outfile>
  70.  
  71.    The <outfile> must be different from <picfile>, you cannot directly
  72.   replace pics with their executable offspring.  It is a good idea to add
  73.   an extension (.se) to the outfile to distinguish it from a primitive
  74.   non-executable pic.
  75.  
  76.    For Workbench use provide the executable with a TOOL type icon.
  77.  
  78.    To view the pic treat the file just like any other executable:
  79.  
  80.      At a CLI type the name, use RUN if you wish.
  81.      From Workbench double-click the icon.
  82.  
  83.     To quit press the LEFT mouse button.   
  84.  
  85.      
  86.           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  87.  
  88.     S-Pic is Freeware.  It may be copied and distributed freely and used
  89.    without charge for non-commercial purposes.  Authority for commercial
  90.    use should be obtained from the author below.
  91.  
  92.     No responsibility can be accepted for any loss occasioned by use of the
  93.    programme.
  94.  
  95.      Comments, suggestions, bug-reports all welcome.
  96.  
  97.    Chas A. Wyndham,
  98.    1265 Canning Mills Road,
  99.    Roleystone,
  100.    WA 6111.
  101.    Australia 
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.